package com.news.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.news.entity.TestEntity;
/**
 * dao接口
 * @author dove
 *
 */
public interface TestMapper {
	public void createTestEntity(TestEntity entity);
	public List<TestEntity> getTestEntityByPager(@Param("pageNo")int pageNo,@Param("pageSize") int pageSize);
	public List<TestEntity> getAllTestEntity();
	public int getTotalCount(@Param("pageNo")int pageNo,@Param("pageSize") int pageSize);
	public void updateTestEntity(TestEntity entity);
	public void deleteTestEntityById(@Param("id") int id);
}
